package org.jeecg.modules.systemextend.systemextend.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: sys_third_account
 * @author: baochangrong
 * @Date:   2022-08-03
 * @Version: V1.0
 */
@Data
@TableName("sys_third_account")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_third_account对象", description="sys_third_account")
public class SysThirdAccountExtend implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private java.lang.String id;
	/**第三方登录id*/
	@Excel(name = "第三方登录id", width = 15)
    @ApiModelProperty(value = "第三方登录id")
    @Dict(dicCode = "id" ,dicText = "concat_ws('' !! realname !! '(' !! username !! ')')",dictTable = "sys_user")
    private java.lang.String sysUserId;


	/**头像*/
	@Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private java.lang.String avatar;
	/**状态(1-正常,2-冻结)*/
	@Excel(name = "状态(1-正常,2-冻结)", width = 15)
    @ApiModelProperty(value = "状态(1-正常,2-冻结)")
    @Dict(dicCode = "user_status")
    private java.lang.Integer status;
	/**删除状态(0-正常,1-已删除)*/
	@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    @Dict(dicCode = "del_flag")
    private java.lang.Integer delFlag;
	/**真实姓名*/
	@Excel(name = "真实姓名", width = 15)
    @ApiModelProperty(value = "真实姓名")
    private java.lang.String realname;
	/**第三方账号*/
	@Excel(name = "第三方账号", width = 15)
    @ApiModelProperty(value = "第三方账号")
    private java.lang.String thirdUserUuid;
	/**第三方app用户账号*/
	@Excel(name = "第三方app用户账号", width = 15)
    @ApiModelProperty(value = "第三方app用户账号")
    private java.lang.String thirdUserId;
	/**创建人登录名称*/
    @ApiModelProperty(value = "创建人登录名称")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人登录名称*/
    @ApiModelProperty(value = "更新人登录名称")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**登录来源*/
	@Excel(name = "登录来源", width = 15)
    @ApiModelProperty(value = "登录来源")
    @Dict(dicCode = "third_type")
    private java.lang.String thirdType;
}
